<template>
  <div class="swiper-container song">
    <div class="swiper-wrapper">
      <slot></slot>
    </div>
  </div>
</template>
<script>
import Swiper from 'swiper/bundle'
import 'swiper/swiper-bundle.css'
export default {
  props: {
    loop: {
      type: Boolean,
      default: true
    }
  },
  mounted () {
    new Swiper('.song', {
      slidesPerView: 3.2
    })
  },
  components: {
    Swiper
  }
}
</script>
